﻿/**
 * 对话框插件样式
 */
 
.mydialog-overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.mydialog {
	position: fixed;
	overflow: hidden;
	width: 60%;
	max-width: 400px;
	min-height: 180px;
	background: #f5f5f5;
	border-radius: 8px;
	box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.25);
	z-index: 1001;
}

.mydialog a,
.mydialog a:link,
.mydialog a:visited,
.mydialog a:hover,
.mydialog a:active {
	text-decoration: none;
}

.mydialog-x {
	position: absolute;
    top: 10px;
    right: 6px;
    width: 24px;
    height: 24px;
    line-height: 18px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #0091d6;
    border-radius: 12px;
    color: #0091d6;
    font-weight: bold;
}

.mydialog-title {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	padding: 12px 0;
	background: #c5c5c5;
	color: #333;
	font-size: 16px;
	text-align: center;
}

.mydialog-content {
	width: 100%;
	padding: 50px 10px 60px 10px;
}

.mydialog-content .plain-text {
	padding: 0 5px;
	text-indent: 2em;
	font-size: 13px;
	line-height: 1.6;
}

.mydialog-handler {
	display: table;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 60px;
	background: #fff;
}

.mydialog-handler .mydialog-cell {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.mydialog-handler .mydialog-cell a {
	display: inline-block;
	width: 50%;
	max-width: 120px;
	padding: 10px;
	background: #0091d6;
	color: #fff;
	border-radius: 3px;
	font-size: 15px;
}

/* 主题responsive */
.responsive.mydialog {
	width: 60%!important;
	height: auto!important;
	margin: 0 auto;
	max-width: 525px;
}

@media screen and (max-width: 768px) {
	.responsive.mydialog {
		width: 90%!important;
	}
}